import QtQuick 2.15
import QtQuick.Controls 2.15
import SutoDisplay 1.0

Rectangle {
    objectName:"main"
    id: main_container
    color: "#FFFFFF"
    implicitHeight: 600-60
    implicitWidth: 1024

    anchors.margins: 20
    anchors.fill: parent

    clip: true


    S430Model{
        id:sensorModel
    }


    Row {
        id: row
        anchors.fill: parent
        objectName: "DataBarArea"

        Repeater {
            model: sensorModel

            DataBar {
                id: data_bar
                width: main_container.width / main_container.bar_cnt
                height: main_container.height

                pColor: main_container.color

                maxValue: maxvalue
                minValue: minvalue
                maxLimit: maxcutoff
                minLimit: mincutoff
                currentValue: value
                chName: name
                isvalid: valid
                valurResolution: vresolution
            }
        }
    }
}

/*##^##
Designer {
    D{i:0;autoSize:true;formeditorZoom:0.75;height:600;width:1024}
}
##^##*/
